package cn.leaves.wb.db.dao;

import java.sql.SQLException;

import cn.leaves.wb.db.bean.Profile;

public interface ProfileDAO {
	public void save(Profile profile) throws SQLException;

	public void update(Profile profile);

	public void delete(Long id);

	public Profile findById(Long id);

	public Profile findByNickName(String nickName);
}
